package com.example.demo.mapper;

import com.example.demo.domain.Menu;
import com.example.demo.domain.Vo.menuListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<menuListVo> selectMenu(Menu menu);

    void insertMenu(Menu menu);

    void updateMenuById(Menu menu);

    void delMenuById(@Param("id") String id);

    List<Menu> getByUserId(Long userId);
}
